package com.example.wechat;

public class Moment {
    private int id;
    private int publisherId;
    private String content;
    private String imagePath;
    private int likesCount;
    private int commentsCount;
    public Moment(int id, int publisherId, String content, String imagePath, int likesCount, int commentsCount) {
        this.id = id;
        this.publisherId = publisherId;
        this.content = content;
        this.imagePath = imagePath;
        this.likesCount = likesCount;
        this.commentsCount = commentsCount;
    }
    public int getId() { return id; }
    public int getPublisherId() { return publisherId; }
    public String getContent() { return content; }
    public String getImagePath() { return imagePath; }
    public int getLikesCount() { return likesCount; }
    public int getCommentsCount() { return commentsCount; }
} 